Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import os
|
|
| 4 |
# 1. IMPORT YOUR ACTUAL SCRIPT
|
| 5 |
# This pulls in your 'generate_text' function and the 'Were' rule logic
|
| 6 |
try:
|
| 7 |
-
from ai_thingy import generate_text
|
| 8 |
except ImportError:
|
| 9 |
# If the file is named slightly differently, adjust the name here
|
| 10 |
print("Error: Could not find ai_thingy.py in the current directory.")
|
|
|
|
| 4 |
# 1. IMPORT YOUR ACTUAL SCRIPT
|
| 5 |
# This pulls in your 'generate_text' function and the 'Were' rule logic
|
| 6 |
try:
|
| 7 |
+
from ai_thingy.py import generate_text
|
| 8 |
except ImportError:
|
| 9 |
# If the file is named slightly differently, adjust the name here
|
| 10 |
print("Error: Could not find ai_thingy.py in the current directory.")
|