David Kagramanyan
Update app.py
bab5bfd
raw
history blame contribute delete
281 Bytes
import gradio as gr
import os
from transformers.utils import logging
logging.set_verbosity_info()
logger = logging.get_logger("transformers")
name = os.getenv("space_name")
api_key = os.getenv("api_key")
space = gr.load(name=name, src='spaces', api_key=api_key)
space.launch()