Skip to content

Commit

Permalink
Publish to Hugging Face space
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Oct 17, 2024
1 parent 590de2b commit bd3cc56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,13 @@ jobs:
resource: http://localhost:7860/?view=api
timeout: 60000
- name: Login to DockerHub
# if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master'
uses: docker/login-action@v2
with:
username: jack20191124
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push image to DockerHub
# if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master'
uses: docker/build-push-action@v3
with:
context: .
Expand Down
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import gradio as gr
from openai import OpenAI

server_name = os.getenv("SERVER_NAME", "127.0.0.1")
server_name = os.getenv("SERVER_NAME", "0.0.0.0")

def latin_replacement(text: str):
with open("ancient-greek-phonemes.txt", "r") as mapping_file:
Expand Down

0 comments on commit bd3cc56

Please sign in to comment.