Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -531,9 +531,9 @@ if __name__ == "__main__":
|
|
| 531 |
|
| 532 |
def generate_requirements_txt() -> str:
|
| 533 |
"""Generate requirements.txt for the standalone app"""
|
| 534 |
-
return """gradio
|
| 535 |
-
openai
|
| 536 |
-
requests
|
| 537 |
"""
|
| 538 |
|
| 539 |
def deploy_to_huggingface(workflow_data: dict, app_name: str, app_description: str,
|
|
@@ -565,7 +565,7 @@ emoji: 🐭
|
|
| 565 |
colorFrom: blue
|
| 566 |
colorTo: green
|
| 567 |
sdk: gradio
|
| 568 |
-
sdk_version:
|
| 569 |
app_file: app.py
|
| 570 |
pinned: false
|
| 571 |
---
|
|
|
|
| 531 |
|
| 532 |
def generate_requirements_txt() -> str:
|
| 533 |
"""Generate requirements.txt for the standalone app"""
|
| 534 |
+
return """gradio==5.34.2
|
| 535 |
+
openai
|
| 536 |
+
requests
|
| 537 |
"""
|
| 538 |
|
| 539 |
def deploy_to_huggingface(workflow_data: dict, app_name: str, app_description: str,
|
|
|
|
| 565 |
colorFrom: blue
|
| 566 |
colorTo: green
|
| 567 |
sdk: gradio
|
| 568 |
+
sdk_version: 5.34.2
|
| 569 |
app_file: app.py
|
| 570 |
pinned: false
|
| 571 |
---
|