Spaces:
Runtime error
Runtime error
update
Browse files- __pycache__/app.cpython-311.pyc +0 -0
- app.py +2 -8
__pycache__/app.cpython-311.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
|
|
|
app.py
CHANGED
|
@@ -50,7 +50,7 @@ class HuggingFaceArchitectureApp:
|
|
| 50 |
return history, ""
|
| 51 |
|
| 52 |
# Get response from assistant
|
| 53 |
-
response = self.assistant.chat(message
|
| 54 |
|
| 55 |
# Add to history
|
| 56 |
history.append([message, response])
|
|
@@ -277,10 +277,4 @@ if __name__ == "__main__":
|
|
| 277 |
demo = create_gradio_interface()
|
| 278 |
|
| 279 |
# Launch configuration for Hugging Face Spaces
|
| 280 |
-
demo.launch(
|
| 281 |
-
server_name="0.0.0.0",
|
| 282 |
-
server_port=7860,
|
| 283 |
-
share=False,
|
| 284 |
-
show_error=True,
|
| 285 |
-
max_threads=10
|
| 286 |
-
)
|
|
|
|
| 50 |
return history, ""
|
| 51 |
|
| 52 |
# Get response from assistant
|
| 53 |
+
response = self.assistant.chat(message)
|
| 54 |
|
| 55 |
# Add to history
|
| 56 |
history.append([message, response])
|
|
|
|
| 277 |
demo = create_gradio_interface()
|
| 278 |
|
| 279 |
# Launch configuration for Hugging Face Spaces
|
| 280 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|