Spaces:
Runtime error
Runtime error
Commit ·
cc0126f
1
Parent(s): f98fc38
Update app.py
Browse files
app.py
CHANGED
|
@@ -268,6 +268,8 @@ def storeIndex1(files):
|
|
| 268 |
os.rename(files.name, new_path)
|
| 269 |
return
|
| 270 |
|
|
|
|
|
|
|
| 271 |
|
| 272 |
MODEL = "gpt-3.5-turbo"
|
| 273 |
API_URL = os.getenv("API_URL")
|
|
|
|
| 268 |
os.rename(files.name, new_path)
|
| 269 |
return
|
| 270 |
|
| 271 |
+
def reset_textbox():
|
| 272 |
+
return gr.update(value='', interactive=False), gr.update(interactive=False)
|
| 273 |
|
| 274 |
MODEL = "gpt-3.5-turbo"
|
| 275 |
API_URL = os.getenv("API_URL")
|