karlopintaric commited on
Commit
4e8e570
1 Parent(s): 7ab2579

Update ui_backend.py

Browse files
Files changed (1) hide show
  1. ui_backend.py +1 -4
ui_backend.py CHANGED
@@ -8,10 +8,7 @@ import requests
8
  import soundfile as sf
9
  import streamlit as st
10
 
11
- if os.environ.get("IS_DOCKER", False):
12
- backend = "http://api:7860"
13
- else:
14
- backend = "http://0.0.0.0:7860"
15
 
16
  INSTRUMENTS = {
17
  "tru": "Trumpet",
 
8
  import soundfile as sf
9
  import streamlit as st
10
 
11
+ backend = "https://karlopintaric-instrument-recognizer-api.hf.space"
 
 
 
12
 
13
  INSTRUMENTS = {
14
  "tru": "Trumpet",