Spaces:
Sleeping
Sleeping
Muhammad Waqas
commited on
Commit
·
0502aa5
1
Parent(s):
48e039b
Added OmniGen Image to Image
Browse files
app.py
CHANGED
|
@@ -592,6 +592,11 @@ def video_tasks(prompt_id):
|
|
| 592 |
except Exception as e:
|
| 593 |
return jsonify({'error': str(e)}), 500
|
| 594 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 595 |
# Route: Image to Video old
|
| 596 |
@app.route('/image_to_video', methods=['POST'])
|
| 597 |
def image_to_video():
|
|
|
|
| 592 |
except Exception as e:
|
| 593 |
return jsonify({'error': str(e)}), 500
|
| 594 |
|
| 595 |
+
|
| 596 |
+
@app.route('/static/<path:filename>')
|
| 597 |
+
def static_files(filename):
|
| 598 |
+
return send_from_directory('static', filename)
|
| 599 |
+
|
| 600 |
# Route: Image to Video old
|
| 601 |
@app.route('/image_to_video', methods=['POST'])
|
| 602 |
def image_to_video():
|