bethecloud commited on
Commit
1b03567
1 Parent(s): df0db39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -53,6 +53,7 @@ async def generate_video(text_input: str, duration: int) -> (str, str):
53
 
54
  return local_video_path, storj_video_url
55
 
 
56
  storj_theme = gr.Theme.from_hub("bethecloud/storj_theme")
57
 
58
  iface = gr.Interface(
@@ -66,7 +67,7 @@ iface = gr.Interface(
66
  gr.outputs.Textbox(label="Storj Video URL")
67
  ],
68
  title="Text to Video to Storj",
69
- theme=storj_theme
70
  )
71
 
72
  iface.launch(share=True, debug=True)
 
53
 
54
  return local_video_path, storj_video_url
55
 
56
+ # Use the custom Gradio theme
57
  storj_theme = gr.Theme.from_hub("bethecloud/storj_theme")
58
 
59
  iface = gr.Interface(
 
67
  gr.outputs.Textbox(label="Storj Video URL")
68
  ],
69
  title="Text to Video to Storj",
70
+ theme=storj_theme # Pass the theme to the Interface
71
  )
72
 
73
  iface.launch(share=True, debug=True)