Spaces:
Build error
Build error
Commit ·
16c377e
1
Parent(s): e302c19
initial
Browse filesFiles changed (2)
- app.pyAdded+23
- requirements.txtAdded+4
1234567891011121314151617181920212223import os
destination = 'core'
if os.path.exists('.env'): from dotenv import load_dotenv load_dotenv()
if not os.path.exists(destination): import subprocess repo_url = os.getenv("GIT_CORE") command = f'git clone {repo_url} {destination}' try: subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)#, env=env) print('Repository cloned successfully.') except subprocess.CalledProcessError as e: print(f'Error cloning repository: {e.output.decode()}')
from core.s import demo
demo.queue(concurrency_count=3)#demo.launch(auth=("student", "whataday"))demo.launch()1234gradio==3.30.0matplotlib==3.7.1shap==0.41.0transformers==4.27.4app.pyAdded+23
requirements.txtAdded+4