Spaces:
Runtime error
Runtime error
gamingflexer
commited on
Commit
•
0bbb2c9
1
Parent(s):
9d3094d
files added
Browse files- __pycache__/app.cpython-39.pyc +0 -0
- app.py +1 -0
__pycache__/app.cpython-39.pyc
ADDED
Binary file (952 Bytes). View file
|
|
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
|
3 |
# Dummy function to simulate the podcast creation
|
4 |
def create_podcast(data):
|
|
|
5 |
# Simulate a successful response
|
6 |
if data["user_id"] == 1:
|
7 |
return {
|
|
|
2 |
|
3 |
# Dummy function to simulate the podcast creation
|
4 |
def create_podcast(data):
|
5 |
+
data = json.loads(data)
|
6 |
# Simulate a successful response
|
7 |
if data["user_id"] == 1:
|
8 |
return {
|