Felix Marty commited on
Commit
92dfc12
1 Parent(s): 43e2d16

avoid relative imports

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
 
3
- from .defaults import defaults_vanilla_single, defaults_bt_spam, defaults_bt_single, defaults_vanilla_spam
4
- from .defaults import ADDRESS_VANILLA, ADDRESS_BETTERTRANSFORMER
5
- from .backend import send_single, send_spam, get_message_single, get_message_spam
6
 
7
  with gr.Blocks() as demo:
8
  gr.Markdown("""
 
1
  import gradio as gr
2
 
3
+ from defaults import defaults_vanilla_single, defaults_bt_spam, defaults_bt_single, defaults_vanilla_spam
4
+ from defaults import ADDRESS_VANILLA, ADDRESS_BETTERTRANSFORMER
5
+ from backend import send_single, send_spam, get_message_single, get_message_spam
6
 
7
  with gr.Blocks() as demo:
8
  gr.Markdown("""